package sonia.examples.orig;

import java.awt.FlowLayout;

import javax.swing.JButton;
import javax.swing.JFrame;

public class Flow extends JFrame{
	
	public static void main(String[] args){
		Flow flow = new Flow();
		flow.setVisible(true);
	}
	
	public Flow(){
		super("Flow example");
		setLayout(new FlowLayout(FlowLayout.LEFT));
		setSize(500,60);
		
		for(int i = 0; i < 5; i++){
			JButton button = new JButton("B"+(i+1));
			button.setSize(40,24);
			this.add(button);
		}
	}
	
}
